package com.woniu.p2p.serviceImpl;

import com.woniu.p2p.mapper.InvestVoMapper;
import com.woniu.p2p.service.InvestService;
import com.woniu.p2p.vo.InvestVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class InvestServiceImpl implements InvestService {
    @Autowired
    InvestVoMapper investVoMapper;
    @Override
    public List<InvestVo> searchAll(Map<String, Object> map) {
        return investVoMapper.searchAll(map);
    }
}
